﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="com.util.db"/>

<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
<script type="text/javascript" src="js/popup.js"></script>
<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
	<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
  <title>家教老师</title>

	<meta name="Keywords" content="">
	<meta name="Description" content="">
	<meta name="author" content="">
	<meta name="format-detection" content="telephone=no">
	<link href="qtimages/Layout.css" rel="stylesheet" type="text/css">
	<script src="qtimages/getjs_bdtj"></script><script charset="utf-8" src="qtimages/insert_bdtj"></script><script src="qtimages/conv.js"></script><script src="qtimages/hm.js"></script>					<script type="text/javascript" src="qtimages/jquery1.42.min.js"></script>
	<script type="text/javascript" src="qtimages/jquery.SuperSlide.2.1.1.js"></script>
	<script src="qtimages/scrollReveal.js"></script> 
	 <link rel="stylesheet" href="./qtimages/sl_common_form.css">
</head>

<%

%>

<body>
<jsp:include page="qttop.jsp"></jsp:include>
<jsp:include page="sidebufen1.jsp"></jsp:include>
<div class="news">
	<div class="container">
		<div class="index-title txt-c">
			<em>你的梦想我很在意 更支持</em>
			<div class="line">
				<h3>家教老师<img src="qtimages/en-news.png" height="16" width="93"></h3>
			</div>
		</div>
		<div class="news-list c">
			<ul>
				  
				 <link rel="stylesheet" href="images/hsgcommon/divqt.css" type="text/css">    
<form action="jjlsListtp.do" name="myform" method="post" style="width:100%">
									查询   教师姓名：<input name="jiaoshixingming" type="text" id="jiaoshixingming" class="form-control2" />  主教课程：<select name='zhujiaokecheng' id='zhujiaokecheng' class="form-control2"><option value="">所有</option></select>  教龄：<input name="jiaoling" type="text" id="jiaoling" class="form-control2" /> 学历：<select name='xueli' id='xueli' class="form-control2"><option value="">所有</option><option value="小学">小学</option><option value="初中">初中</option><option value="高中">高中</option><option value="大专">大专</option><option value="本科">本科</option><option value="硕士">硕士</option><option value="博士">博士</option></select>  联系电话：<input name="lianxidianhua" type="text" id="lianxidianhua" class="form-control2" />
									<input type="submit" value="查询" class='hsgqiehuanshitu' /> <input type="button" name="Submit2" value="切换视图" class='hsgqiehuanshitu'  onClick="javascript:location.href='jjlsList.do';" />
								</form>	
<br />

<table width="100%" height="12%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                          <%
					int i=0;
				%>
				<c:forEach items="${list}" var="u">
				<%
					i++;
				%>
                           <td height="316" align="center"><table width="225" height="285" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td height="250" align="center"><a href="jjlsDetail.do?id=${u.id}"><img src="${u.zhaopian}" width="210" height="250" border="0" /></a></td>
                                </tr>
                                <tr>
                                  <td height="26" align="center">${u.zhujiaokecheng}</td>
                                </tr>
                            </table></td>
							  <%
								if (i==4)
								{
									i=0;
									out.print("</tr><tr>");
								}
				  	
					
				  %>
							</c:forEach>
							
                          
                          </tr>
                        </table><br>

<p align="center"> <c:if test="${sessionScope.p==1}">
		 <c:if test="${page.page>1}">
              <a href="jjlsListtp.do?page=1" >首页</a>
             <a href="jjlsListtp.do?page=${page.page-1}"> 上一页</a>             </c:if>
    	     <c:if test="${page.page<page.totalPage}">
			<a href="jjlsListtp.do?page=${page.page+1}">下一页</a>
			<a href="jjlsListtp.do?page=${page.totalPage}">末页</a>		    </c:if>		
	</c:if>
	</p>
						
						
					
							</ul>
		</div>
		
	</div>
</div>
<jsp:include page="qtdown.jsp"></jsp:include>

</body></html>
